Skip to content

Contract Spec tab to show parameter name instead of indices#1945

Merged
jeesunikim merged 2 commits intomainfrom
issue-1921
Mar 11, 2026
Merged

Contract Spec tab to show parameter name instead of indices#1945
jeesunikim merged 2 commits intomainfrom
issue-1921

Conversation

@jeesunikim
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates contract interface formatting so the Contract Spec “interface” view can display function parameter names (instead of numeric indices), and refreshes network limit window values.

Changes:

  • Update formatFnInputs to handle inputs when provided as an array of {name, type} objects.
  • Update live_soroban_state_size_window values for mainnet/testnet/futurenet network limits.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/helpers/formatContractInterface.ts Formats function inputs using parameter names when inputs is an array.
src/constants/networkLimits.ts Updates the live Soroban state size window samples used in rent/fee calculations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stellar-jenkins
Copy link

Copy link
Contributor

Copilot AI commented Mar 10, 2026

@jeesunikim I've opened a new pull request, #1946, to work on those changes. Once the pull request is ready, I'll request review from you.

@jeesunikim jeesunikim merged commit 4fea06a into main Mar 11, 2026
11 checks passed
@jeesunikim jeesunikim deleted the issue-1921 branch March 11, 2026 16:48
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Contract Explorer: Contract Spec tab shows parameter indices (0, 1, 2) instead of parameter names

5 participants